/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package e2.entities;

import java.io.Serializable;
import javax.persistence.*;

/**
 *
 * @author funcionario
 */
@Entity
@DiscriminatorValue("RHEMPRESA")
public class RHDaEmpresa extends Usuario implements Serializable {
    private static final long serialVersionUID = 1L;
    
    @ManyToOne
    private Empresa empresa;
    

    @Override
    public String toString() {
        return "e2.entities.RHDaEmpresa[ id=" + id + " ]";
    }
    
}
